package com.laoye.big_event.Service;

import com.laoye.big_event.Pojo.Article;
import com.laoye.big_event.Pojo.PageBean;

public interface ArticleService {

    void add(Article article);

    PageBean<Article> list(int pageNum, int pageSize, Integer categoryId, String state);

    Article detail(Integer id);

    void update(Article article);

    void delete(Integer id);

//    String getCategoryName(Integer categoryid);
}
